IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'spTreleasereason_Update')
	BEGIN
		PRINT 'Dropping Procedure spTreleasereason_Update'
		DROP  Procedure  spTreleasereason_Update
	END

GO

PRINT 'Creating Procedure spTreleasereason_Update'
GO
Create Procedure dbo.spTreleasereason_Update
	( 	  
		@releasereasonid int, 
		@releasereason varchar(200), 
		@description varchar(100), 
		@active bit
	)
AS
  /* 
    ------------------------------------------------------------------------------
    - Change History
    - --------------
    - Date          Description
    ------------------------------------------------------------------------------
    - 8/23/2007    Initial version Updated
    ------------------------------------------------------------------------------
  */

	-- Declare the required variables

	-- Update the required new record
	UPDATE Treleasereason
	SET
		releasereason = @releasereason, 
		description = @description, 
		active = @active		
	WHERE releasereasonid = @releasereasonid

	-- Return to calling method
	RETURN
	
GO
